/** 执行力管理路由 */
import Layout from '@/views/layout/ExecutionLayout'

const layout = function(hidden, meta = {}) {
  return {
    path: '/execution',
    component: Layout,
    alwaysShow: false,
    hidden: hidden,
    meta: {
      requiresAuth: true,
      permissions: ['oa', 'execution'],
      ...meta
    }
  }
}

export default [
  {
    ...layout(false),
    children: [{
      path: 'report', // 工作汇报
      component: () => import('@/views/execution/report'),
      meta: {
        title: '工作汇报',
        icon: 'book'
      }
    }]
  }
]
